package bootstrap

import (
	// "last/pkg/config"

	"last/pkg/logger"

	"github.com/spf13/cast"
	"github.com/spf13/viper"
)

// SetupLogger 初始化 Logger
func SetupLogger() {
    logger.InitLogger(
        "storage/logs/logs.log",
        64,
        5,
        30,
        true,
		cast.ToString(viper.Get("log.log_type")),
		cast.ToString(viper.Get("log.log_level")),
    )
}